//
//  InputCell.m
//  IBaby
//
//  Created by ZengYuan on 14/11/27.
//  Copyright (c) 2014年 com.zhongwei. All rights reserved.
//

#import "InputCell.h"
#import "Config.h"
@implementation InputCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    self.textfield = [[UITextField alloc]initWithFrame:CGRectMake(100, (self.frame.size.height-30)/2, kScreenWidth-120, 30)];
    [self addSubview:self.textfield];
    self.textfield.backgroundColor = [UIColor clearColor];
    self.textfield.borderStyle=UITextBorderStyleNone;
//    self.textfield.backgroundColor=[UIColor blackColor];
    self.textfield.secureTextEntry = YES;
    return self;
}
- (void)drawRect:(CGRect)rect {
    // Drawing code
    [super drawRect:rect];
    self.accessoryType = UITableViewCellAccessoryNone;
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    
}


@end
